package com.sright.bcard.common.share.request;

import lombok.Data;

@Data
public class FileTranscodeParam {
    private OutputFileBean outputFile;
    private PropertiesBean properties;
    private UserDataBean userData;

    @Data
    public static class OutputFileBean {
        private String Bucket;
        private String Location;
        private String Object;
    }

    @Data
    public static class PropertiesBean {
        private String etag;
        private String duration;
        private String file_size;
        private String height;
        private String width;
        private String fps;
        private String bitrate;
        private AudioStreamBean audio_stream;
        private VideoStreamBean video_stream;

        @Data
        public static class AudioStreamBean {
            private String codec_name;
            private String samplerate;
        }

        @Data
        public static class VideoStreamBean {
            private String codec_name;
        }
    }

    @Data
    public static class UserDataBean {
        private String type;
        private String materialId;
    }
}
